﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace SAAS.ServiceInterface
{ 
    [DataContract]
    public class FileData
    {
        /// <summary>
        /// FileName
        /// </summary>
        [DataMember]
        public string Name { get; set; }

        //File Length
        [DataMember]
        public long Length { get; set; }

        //The offset of file stream
        [DataMember]
        public long Offset { get; set; }

        //file data
        [DataMember]
        public byte[] Data { get; set; }

        //create date time
        [DataMember]
        public DateTime CreateTime { get; set; }
    }
}
